home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 36 / qostnote.zip / COM3N4.TEC < prev    next >
Text File  |  1990-07-03  |  5KB  |  95 lines

  1. ID:CM DESQview Support of COM Ports
  2. DESQview Technical Note
  3. by Stan Young
  4.  
  5. Q:  Why doesn't DESQview support more than COM1 and COM2?
  6.  
  7. Q:  How can I run more COM ports on my machine in DESQview?
  8.  
  9. In DESQview's Change a Program, DESQview allows you to define the 
  10. COM port that is to be used by the program.  The choices are 1 
  11. and 2.  This does not mean however, that DESQview does not 
  12. support the use of COM3 and COM4.  It does.  
  13.  
  14. DESQview allows you to specify whether the program uses COM1 or 
  15. COM2 so that it can attempt to make the system appear to have 
  16. only the port (1 or 2) that you have specified.  This is so 
  17. ill-behaved programs that clear both ports on startup, making the 
  18. assumption that they are the only program running on the machine, 
  19. will not interfere with a program that is already using the other 
  20. port.  These programs do not typically interfere with COM3 or 
  21. COM4, so if you are using one of these ports, you can set "Uses 
  22. serial ports" to either N or Y.  It makes no difference.
  23.  
  24. However, there is a key issue that is important to understand 
  25. when trying to use ports beyond 2 in a multi-tasking system.  
  26. There are two parts to serial communication:  
  27.  
  28. 1.  The software side, which is the BIOS COM port identification.
  29. 2.  The hardware side, which is the hardware interrupt (IRQ) that 
  30.     is being used.
  31.  
  32. A good analogy for understanding the importance of this is to 
  33. think of serial port communications as a telephone system.  The 
  34. COM port represents the actual telephone unit (the extension if 
  35. you will).  The hardware interrupt or IRQ represents the line out 
  36. that connects to the phone company.  COM1 and COM2 have their own 
  37. dedicated lines (IRQ4 and IRQ3 respectively).  This is pretty 
  38. much a standard, defined configuration in the PC environment.
  39.  
  40. But when you add a COM3 or COM4, they must be assigned an IRQ.  
  41. You have two options, you can assign them their own separate IRQ, 
  42. or you can assign them to one of the IRQ's that are already in 
  43. use (3 or 4).  However, if you assign a new COM port to an IRQ 
  44. that is already assigned to another port, it is like adding 
  45. another telephone extension to an existing line.  You will be 
  46. able to call out from either extension, but you will not be able 
  47. to call out from both extensions at the same time - for that, you 
  48. need a dedicated line.
  49.  
  50. Most of the hardware devices (modems, mice, plotters, scanners or 
  51. whatever), that allow you to define them as a port above 2, 
  52. unfortunately do so by re-using IRQ3 or IRQ4.  This works fine, 
  53. when using the ports from free standing programs, one at a time, 
  54. but in multi-tasking systems, these setups are generally 
  55. unsatisfactory as users of multi-tasking systems want to be able 
  56. to use the ports simultaneously.
  57. If the hardware that supplies your additional COM ports allows 
  58. you to configure the port to a free IRQ, other than IRQ3 or IRQ4 
  59. that is free on your machine, say IRQ2 or IRQ5, then that would 
  60. be like a phone with another line out and you would be able to 
  61. use it simultaneously with COM1 and COM2.  Otherwise, you are 
  62. limited to using these ports serially, not simultaneously.
  63.  
  64. Use of FOSSIL drivers:  There are some systems out there that are 
  65. now accessing multiple ports through the use of FOSSIL drivers 
  66. and special multi-port hardware (sometimes with its own on-board 
  67. processor). A full discussion of FOSSIL drivers is beyond the 
  68. scope of this technical note, but briefly, this is how they work:  
  69.  
  70. A driver is loaded in the CONFIG.SYS file which sets up 
  71. communications with the hardware supplying the ports.  The 
  72. hardware may contain 4, 8, or even more ports.  The hardware 
  73. usually uses ONLY one standard hardware IRQ, usually IRQ3 (used 
  74. by COM2 in standard configurations).  The driver is then
  75. addressed as though it were a series of COM ports (again, 4, 8, 
  76. or more).  When communications to one of the ports is received, 
  77. the driver multiplexes through the single IRQ to communicate with 
  78. the board which, since it knows how to talk to the driver can 
  79. determine which physical port on the board the data is to be 
  80. directed.
  81.  
  82. We have had a number of users who have used systems with FOSSIL 
  83. drivers to run multiple ports on electronic bulletin board 
  84. systems and for CAM process control.  To implement a multi-port 
  85. system using FOSSIL drivers however, you need three things:  The 
  86. hardware, the FOSSIL driver and communications programs that are 
  87. specifically written to use the FOSSIL driver.
  88.  
  89. For more information about FOSSIL drivers, check out a file 
  90. called FOSSIL.ARC, available on many bulletin board systems 
  91. around the country.
  92.  
  93.         Copyright (C) 1990 by Quarterdeck Office Systems
  94.              * * *   E N D   O F   F I L E    * * * 
  95.